<template>
  <div class="empty">
    <div class="icon">📭</div>
    <div class="text">{{ text }}</div>
  </div>
  </template>

<script setup lang="ts">
withDefaults(defineProps<{ text?: string }>(), { text: '暂无数据' })
</script>

<style scoped>
.empty { padding: 24px; text-align: center; color: rgba(0,0,0,0.45); }
.icon { font-size: 32px; margin-bottom: 8px; }
</style>


